import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2022-11-29
 * Time: 20:17
 */
public class Demo3 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        while(scan.hasNextInt()) {
            int n = scan.nextInt();
            int count = 0;

            for(int i = 2; i < Math.sqrt(n); i++) {
                if(n % i == 0) {
                    while(n % i == 0) {
                        n = n/i;
                    }
                    count++;
                }
            }

            if(n != 1) count++;
            System.out.println(count);
        }
    }
}
